package com.example.studymoudle.observer_design_pattern;


/**
 * 装饰器模式
 * @param <T>
 * @param <R>
 */
public abstract  class AbstractObservableWithUpstream <T,R> extends Observable<R>{

    protected final ObservableSource<T> source;

    public AbstractObservableWithUpstream(ObservableSource<T> source) {
        this.source = source;
    }

}
